package libentity;

public class Elenco {
	// ATTRIBUTI
	private int pID;
	private String pName;
	private String pStart;
	private String pEnd;
	private String pColor;
	private String pLink;
	private int pMile;
	private String pRes;
	private int pComp;
	private int pGroup;
	private int pParent;
	private int pOpen;
	private String pDepend;
	private String pCaption;
	
	
	
	
	// COSTRUTTORI
	public Elenco() {
		pID = 0;
		setpName("");
		setpStart("");
		setpEnd("");
		setpColor("");
		setpLink("");
		pMile=0;
		setpRes("");
		pComp=0;
		pGroup=0;
		pParent=0;
		pOpen=0;
		setpDepend("");
		setpCaption("");
	} // end costruttore vuoto
	
	
	
	
	
	
	
	
	
	
	//Inizio costruttore da popolare
	public Elenco( int p_ID, String p_name, String p_start, String p_end, String p_color, String p_link, int p_mile, String p_res, int p_comp, int p_group, int p_parent, int p_open, String p_depend, String p_caption) {
		pID = p_ID;
		setpName(p_name);
		setpStart(p_start);
		setpEnd(p_end);
		setpColor(p_color);
		setpLink(p_link);
		pMile=p_mile;
		setpRes(p_res);
		pComp=p_comp;
		pGroup=p_group;
		pParent=p_parent;
		pOpen=p_open;
		setpDepend(p_depend);
		setpCaption(p_caption);
	} // end costruttore da popolante

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	//Inizio Getter e setter
	public int getpID() {
		return pID;
	}
	public void setpID(int pID) {
		this.pID = pID;
	}
	public String getpName() {
		return pName;
	}
	public void setpName(String pName) {
		this.pName = pName;
	}
	public String getpStart() {
		return pStart;
	}
	public void setpStart(String pStart) {
		this.pStart = pStart;
	}
	public String getpEnd() {
		return pEnd;
	}
	public void setpEnd(String pEnd) {
		this.pEnd = pEnd;
	}
	public String getpColor() {
		return pColor;
	}
	public void setpColor(String pColor) {
		this.pColor = pColor;
	}
	public String getpLink() {
		return pLink;
	}
	public void setpLink(String pLink) {
		this.pLink = pLink;
	}
	public int getpMile() {
		return pMile;
	}
	public void setpMile(int pMile) {
		this.pMile = pMile;
	}
	public String getpRes() {
		return pRes;
	}
	public void setpRes(String pRes) {
		this.pRes = pRes;
	}
	public int getpComp() {
		return pComp;
	}
	public void setpComp(int pComp) {
		this.pComp = pComp;
	}
	public int getpGroup() {
		return pGroup;
	}
	public void setpGroup(int pGroup) {
		this.pGroup = pGroup;
	}
	public int getpParent() {
		return pParent;
	}
	public void setpParent(int pParent) {
		this.pParent = pParent;
	}
	public int getpOpen() {
		return pOpen;
	}
	public void setpOpen(int pOpen) {
		this.pOpen = pOpen;
	}
	public String getpDepend() {
		return pDepend;
	}
	public void setpDepend(String pDepend) {
		this.pDepend = pDepend;
	}
	public String getpCaption() {
		return pCaption;
	}
	public void setpCaption(String pCaption) {
		this.pCaption = pCaption;
	}
	//Fine Getter e setter
	
	
	



	

}//Fine Classe
